package com.foreveross.fetl.common.vo;

import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.math.NumberUtils;


public class CabinRelationEntityVO {

	/**
	 * 仓位去程id
	 */
	private String cabinId;
	/**
	 * 回程仓位id
	 */
	private String returnCabinId;
	/**
	 * 打包价，很多网站来回程都有一个打包价，并不一定等于来回程加起来之和，很多时候我们只关心这个价格
	 */
	private String fullPrice;
	public String getCabinId() {
		return cabinId;
	}
	public void setCabinId(String cabinId) {
		this.cabinId = cabinId;
	}
	public String getReturnCabinId() {
		return returnCabinId;
	}
	public void setReturnCabinId(String returnCabinId) {
		this.returnCabinId = returnCabinId;
	}
	public Double getNumberFullPrice(){
		return StringUtils.isNotBlank(fullPrice) && NumberUtils.isNumber(fullPrice) ? Double.valueOf(getFullPrice()) : null;
	}
	public String getFullPrice() {
		return fullPrice;
	}
	public void setFullPrice(String fullPrice) {
		this.fullPrice = fullPrice;
	}

	

}
